package cn.elvinle.bookshop.service;

import cn.elvinle.bookshop.mapper.TbContentMapper;
import cn.elvinle.bookshop.pojo.TbContent;
import cn.elvinle.bookshop.sinterface.TbContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: Elvin
 * datetime: 2018/1/2 21:10
 */
@Service
public class TbContentServiceImpl implements TbContentService {

    @Autowired
    private TbContentMapper tbContentMapper;

    @Override
    public TbContent selectByPrimaryKey(Long id) {
        return tbContentMapper.selectByPrimaryKey(id);
    }
}
